package com.qf.day06.homework;

public class Main {
    public static void main(String[] args) {
        Hero hero = new Warrior("Renekton",90,60,30,100);
        hero.getAttack();
        System.out.println(hero);
        boolean b = hero instanceof Hero;
        System.out.println(b);
        boolean b1 = hero instanceof Warrior;
        System.out.println(b1);

    }
}
